.chatHistory {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.closeIcon {
  font-size: 16px;
  cursor: pointer;
  color: #9daabb;
  &:hover {
    color: blue;
  }
}

.noData {
  position: relative;
  top: 200px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #344054;
  img {
    width: 100px;
  }
}

.groupList {
  display: flex;
  flex-direction: column;
  gap: 8px;
  .groupTitle {
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: #9e9faa;
  }
  .historyCard {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    justify-content: space-between;
    border: 1px solid #fff;
    .groupLeft {
      flex: 1;
      display: flex;
      flex-direction: column;
      min-width: 0;
      .title {
        width: 100%;
        font-size: 14px;
        line-height: 22px;
        font-weight: 400;
        color: #000;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .modelName {
        width: 100%;
        font-size: 12px;
        line-height: 22px;
        color: #344054;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
    .groupRight {
      display: none;
      width: 24px;
      height: 24px;
      .deleteBtn {
        pointer-events: auto;
        color: #b0b0b0;
        transition: color 0.2s;
        cursor: pointer;
        &:hover {
          color: #ff4d4f;
        }
      }
    }

    &:hover {
      background-color: #f5f8ff;
      border: 1px solid #f5f8ff;
      box-sizing: border-box;

      .groupRight {
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
  }
  .currentItem {
    background-color: #ebf0ff;
    border: 1px solid #4f4dff;
    box-sizing: border-box;
    &:hover {
      background-color: #ebf0ff;
      border: 1px solid #4f4dff;
    }
  }
}
